package com.zjp.mg.config;

import com.zjp.mg.model.ConnectionInformation;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

@Setter
@Getter
@Configuration
@ConfigurationProperties(prefix = "data.property")
public class ConnectionConfiguration {

    // 大小写 要使用[-]连接
    private Map<String, ConnectionInformation> dataMap;

}
